package com.ruoyi.ncpsy.mapper;

import java.util.List;
import com.ruoyi.ncpsy.domain.NcpsyPesticideCrop;
import org.apache.ibatis.annotations.Mapper;

/**
 * 喷洒农药记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-29
 */
@Mapper
public interface NcpsyPesticideCropMapper 
{
    /**
     * 查询喷洒农药记录
     * 
     * @param pesticideCropId 喷洒农药记录主键
     * @return 喷洒农药记录
     */
    public NcpsyPesticideCrop selectNcpsyPesticideCropByPesticideCropId(Long pesticideCropId);

    /**
     * 查询喷洒农药记录列表
     * 
     * @param ncpsyPesticideCrop 喷洒农药记录
     * @return 喷洒农药记录集合
     */
    public List<NcpsyPesticideCrop> selectNcpsyPesticideCropList(NcpsyPesticideCrop ncpsyPesticideCrop);

    /**
     * 新增喷洒农药记录
     * 
     * @param ncpsyPesticideCrop 喷洒农药记录
     * @return 结果
     */
    public int insertNcpsyPesticideCrop(NcpsyPesticideCrop ncpsyPesticideCrop);

    /**
     * 修改喷洒农药记录
     * 
     * @param ncpsyPesticideCrop 喷洒农药记录
     * @return 结果
     */
    public int updateNcpsyPesticideCrop(NcpsyPesticideCrop ncpsyPesticideCrop);

    /**
     * 删除喷洒农药记录
     * 
     * @param pesticideCropId 喷洒农药记录主键
     * @return 结果
     */
    public int deleteNcpsyPesticideCropByPesticideCropId(Long pesticideCropId);

    /**
     * 批量删除喷洒农药记录
     * 
     * @param pesticideCropIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNcpsyPesticideCropByPesticideCropIds(Long[] pesticideCropIds);
}
